﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/TemplateUser.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="AirlineProject.Models"%>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Message
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%
    User u = (User)Session["user_name"];    
%>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            alert('Congratulations you to set ticket successfully.');
        });
    </script>
    <div class="wrapper pad1">
      <article class="col1">
        <div class="box1">
          <h2 class="top">Hot Offers of the Week</h2>
          <div class="pad"> <strong>Ho Chi Minh</strong><br>
            <ul class="pad_bot1 list1">
              <li> <span class="right color1">price: 200USD</span><a href="#">Phu Quoc</a></li>
            </ul>
            <strong>Ha Noi</strong><br>
            <ul class="pad_bot1 list1">
              <li> <span class="right color1">price: 350USD</span><a href="#">Nha Trang</a></li>
              <li> <span class="right color1">price: 400USD</span><a href="#">Ca Mau</a></li>
            </ul>
            <strong>Da Nang</strong><br>
            <ul class="pad_bot2 list1">
              <li> <span class="right color1">price: 200USD</span><a href="#">Hai Phong</a></li>
              <li> <span class="right color1">price: 500USD</span><a href="#">Noi Bai</a></li>
              <li> <span class="right color1">price: 700USD</span><a href="#">Vinh</a></li>
            </ul>
          </div>
        </div>
      </article>
      <article class="col2">
        <h3 class="pad_top1">Options</h3>
        <h2 class="pad_top1">Welcome ,<br />Please select the option you wish to perform.</h2>
        <%
            using (Html.BeginForm("Options", "Account", FormMethod.Post, new { id = "ContactFormOptions" }))
            {   
        %>
          <div>
            <a href='<%= Url.Action("EditProfile","Account") %>' class="button1"><strong>Update Profile</strong></a> 
            <a href='<%= Url.Action("FlightSchedule","Home") %>' class="button1"><strong>Book Flight</strong></a> 
            <a href='<%= Url.Action("logout/"+u.user_name,"Home") %>' class="button1"><strong>Logout</strong></a>
          </div>
        <%
            }
        %>
      </article>
    </div>
</asp:Content>
